package com.dbManage.dao;

import java.util.List;

import com.dbManage.annotation.MyBatisRepository;
import com.dbManage.entity.AuthRecord;
import org.springframework.stereotype.Repository;


@Repository
@MyBatisRepository
public interface AuthDao {

    void insertAuth(AuthRecord auth);

    void deleteAuthById(int id);

    void updateAuth(AuthRecord auth);

    AuthRecord findAuthById(int id);

    List<AuthRecord> findAllAuth();
}
